﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Engine
{
    abstract public class Drawn
    {

        /// <summary>
        /// Texture that will be blitted to the screen
        /// </summary>
        protected Texture2D _texture;

        /// <summary>
        /// Position and size of the entity on it's current parent
        /// </summary>
        protected Rectangle _positionSize;

        /// <summary>
        /// Is the entity visible on it's parent
        /// </summary>
        protected bool _visible;

        /// <summary>
        /// Returns or sets the visible status of this toolbox
        /// </summary>
        public Texture2D texture
        {
            get
            {
                return this._texture;
            }
            set
            {
                this._texture = value;
            }
        }

        /// <summary>
        /// Returns or sets the visible status of this toolbox
        /// </summary>
        public bool visible
        {
            get
            {
                return this._visible;
            }
            set
            {
                this._visible = value;
            }
        }

        /// <summary>
        /// Returns or sets the position of entity
        /// </summary>
        public Rectangle positionSize
        {
            get
            {
                return this._positionSize;
            }
            set
            {
                this._positionSize = value;
            }
        }

    }
}
